package com.yang.entity;


import javax.persistence.*;

@Entity
@Table(name = "rate")
public class RateEntity {

    @Id
    @Column(name = "id")
    private long id;

    @Column(name = "money")
    private float money;

    @Column(name = "prepay")
    private float prepay;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public float getPrepay() {
        return prepay;
    }

    public void setPrepay(float prepay) {
        this.prepay = prepay;
    }

    @Override
    public String toString() {
        return "RateEntity{" +
                "id=" + id +
                ", money='" + money + '\'' +
                ", prepay='" + prepay + '\'' +
                '}';
    }
}
